const webpack = require("webpack")
const { merge } = require('webpack-merge')
const common = require("./webpack.common.js")

module.exports = merge(common, {
  mode: "development",
  devtool: "cheap-module-eval-source-map",
  devServer: {
    hot: true,
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin()
  ]
})